#works with version 0.50.2

pkg_configure_prepare(){
	make distclean || true

	autoreconf -i -f
}

pkg_configure(){
	LEANUX_JAIL_PERL_PREFIX="${LEANUX_PREFIX}"/jail-perl
	export PATH="${LEANUX_JAIL_PERL_PREFIX}/bin:${PATH}"

	./configure --prefix=${LEANUX_PREFIX}
}

pkg_compile(){
	make ${MAKE_JOBS}
}

pkg_install(){
	make ${MAKE_JOBS} install
}

files_and_dirs="
share
share/aclocal
share/aclocal/intltool.m4
share/intltool
share/intltool/Makefile.in.in
share/man
share/man/man8
share/man/man8/intltool-extract.8
share/man/man8/intltool-merge.8
share/man/man8/intltoolize.8
share/man/man8/intltool-update.8
share/man/man8/intltool-prepare.8
bin
bin/intltoolize
bin/intltool-update
bin/intltool-extract
bin/intltool-merge
bin/intltool-prepare"
